package com.mapKeyVal.key;

public class WoOpeKey {
	private String wo_Id;
	private String ope_id;

	public String getWo_Id() {
		return wo_Id;
	}

	public void setWo_Id(String wo_Id) {
		this.wo_Id = wo_Id;
	}

	public String getOpe_id() {
		return ope_id;
	}

	public void setOpe_id(String ope_id) {
		this.ope_id = ope_id;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((ope_id == null) ? 0 : ope_id.hashCode());
		result = prime * result + ((wo_Id == null) ? 0 : wo_Id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		WoOpeKey other = (WoOpeKey) obj;
		if (ope_id == null) {
			if (other.ope_id != null)
				return false;
		} else if (!ope_id.equals(other.ope_id))
			return false;
		if (wo_Id == null) {
			if (other.wo_Id != null)
				return false;
		} else if (!wo_Id.equals(other.wo_Id))
			return false;
		return true;
	}

	public WoOpeKey(String wo_Id, String ope_id) {
		super();
		this.wo_Id = wo_Id;
		this.ope_id = ope_id;
	}

	@Override
	public String toString() {
		return "WoOpeKey [wo_Id=" + wo_Id + ", ope_id=" + ope_id + "]";
	}

}
